<html>
<head>
    <meta http-equiv="content-type" content="text/html;charset=utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <title>微信扫码支付</title>
</head>
<body>
<div class=out_div>
    <div style="padding: 20px;margin: 20px">
        <a href="javascript:;" onClick="nativePay()">微信扫码支付</a>
    </div>
    <div style="padding: 20px;margin: 20px">
        <a href="javascript:;" onClick="wapPay()">微信H5支付</a>
    </div>
    <div style="padding: 20px;margin: 20px">
        <a href="javascript:;" onClick="alipay()">支付宝支付</a>
    </div>
    <div style="padding: 20px;margin: 20px">
        <a href="javascript:;" onClick="tonglian()">通联支付</a>
    </div>
    <div style="padding: 20px;margin: 20px">
        <a href="javascript:;" onClick="weixinlogin()">微信登录1</a>
    </div>
     <div style="padding: 20px;margin: 20px">
        <a href="javascript:;" onClick="weixinlogin()">微信登录2</a>
    </div>
</div>
</body>
</html>
<script type="text/javascript" src="__STATIC__/admin/lib/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="__STATIC__/admin/lib/layer/layer.js"></script>
<script>
    function wapPay(){
        window.location.href = '{:url("Wxpay/recharge")}?money='+0.01
    }
    function nativePay(){
        //电脑微信支付产品
        layer.open({
            type: 2,
            skin: 'layui-layer-rim', //加上边框
            area: ['450px', '300px;'], //宽高
            title: ['扫码支付', 'background:#fff;'],
            shade: [0.8, '#393D49'],
            shadeClose: true,
            content: '{:url("Wxpay/recharge")}?money='+0.01
        });
    }
    function alipay(){
        window.location.href= '{:url("Alipay/recharge")}?money='+0.01;
    }
    function tonglian(){
        window.location.href= '{:url("Tonglian/index")}?money='+0.01;
    }
	 function weixinlogin(){
        window.location.href= '{:url("Wechat/wxlogin")}';
    }
	 function weixinlogin(){
        window.location.href= '{:url("Login/login")}';
    }
</script>
</html>